﻿using Hang.Blog.DomainPlus.Imp;
using Hang.Blog.EntityFrameworkCore;
using Hang.Blog.RepositoryInter;

using Volo.Abp.Domain.Entities;
using Volo.Abp.EntityFrameworkCore;

namespace Hang.Blog.Repositories {

    public class BlogRepository<T> : ExtendRepository<BlogDbContext, T>, IBlogRepository<T> where T : class, IEntity {
        public BlogRepository(IDbContextProvider<BlogDbContext> dbContextProvider) : base(dbContextProvider) {
        }
    }
    public class BlogRepository<T, TKey> : ExtendRepository<BlogDbContext, T, TKey>, IBlogRepository<T, TKey> where T : class, IEntity<TKey> {
        public BlogRepository(IDbContextProvider<BlogDbContext> dbContextProvider) : base(dbContextProvider) {
        }
    }
}
